<?php
/**
 * 测试验证器
 */

namespace app\index\validate;


use think\Validate;

class User extends Validate
{
    protected $rule = [
        'name'  =>  'require|max:25',
        'email' =>  'email',
    ];

}
